package com.ruoyi.business.tool;

import com.ruoyi.common.utils.SecurityUtils;
import org.springframework.stereotype.Service;

@Service
public class UserInfoTool extends SysTools {

    public static Long getUserDeptId() {
        return SecurityUtils.getDeptId();
    }

    public static Long getUserId() {

        return SecurityUtils.getUserId();
    }

    public static String getUserName() {

        return SecurityUtils.getUsername();
    }

}
